package com.wjk.kylin.mall.admin.service;

import com.wjk.kylin.mall.admin.dto.RouterDTO;
import com.wjk.kylin.mall.admin.entity.MenuEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wjk.kylin.mall.admin.entity.UserEntity;
import com.wjk.kylin.mall.common.core.dto.admin.UserIdInDTO;
import com.wjk.kylin.mall.common.core.dto.base.BaseOutDTO;

import java.util.List;

/**
 * <p>
 * 菜单表 服务类
 * </p>
 *
 * @author wangjinkui
 * @since 2021-11-21
 */
public interface IMenuService extends IService<MenuEntity> {

    List<String> findMenuPermsByUserToUser(UserEntity user);

    List<RouterDTO> getRouters(Long userId);

    List<String> getMenuPermsByUser(UserIdInDTO inDTO);
}
